{include file="public/head"/}
<style>
  .main-content {
    margin-left: 0px;
    min-height: 80%;
  }

  .modules>ul {
    min-height: 300px;
    display: flex;
    align-items: center;
    list-style: none;
  }

  .modules>ul>li {
    flex: 1;
    text-align: center;

  }

  .modules>ul>li>a {
    font-size: 25px;
    text-align: center;
  }

  .modules>ul>li>a>span {
    font-size: 100px;

  }

  .font-red {
    color: red;
  }
</style>


<style>
  .row .cf {
    margin-bottom: 10px;
  }
</style>

<div class="main-container" id="main-container">
  <script type="text/javascript">
    try {
      ace.settings.check('main-container', 'fixed')
    } catch (e) {
    }
  </script>

  <div class="main-container-inner">
    <a class="menu-toggler" id="menu-toggler" href="#">
      <span class="menu-text"></span>
    </a>
    {include file="public/nav"/}

    <div class="main-content">
      <div class="page-content">
        <div class="row">
          <div class="well">
            <h1 class=" lighter smaller">
              <span class="blue bigger-125">
                <i class="ace-icon fa fa-info"></i>
              </span>
              10.min 系统
            </h1>

            <hr>
            <div class="space"></div>

            <div class="modules">
              <ul>
                <li>
                  <a href="{:url('work/addworksingleform')}">
                    <span class="fa fa-pencil-square-o"></span>
                    <p>创建工单</p>
                  </a>
                </li>

                <li>
                  <a href="{:url('work/indexwork')}">
                    <span class="fa fa-pencil-square"></span>
                    <p>施工中工单 (<span class="font-red">{$indexCount}</span>)</p>
                  </a>
                </li>

                <li>
                  <a href="{:url('invoice/pay')}">
                    <span class="fa fa-th-list"></span>
                    <p>待结账工单 (<span class="font-red">{$payCount}</span>)</p>
                  </a>
                </li>

              </ul>

              <ul>
                <li>
                  <a href="{:url('invoice/indexInvoice')}">
                    <span class="fa fa-navicon"></span>
                    <p>历史工单</p>
                  </a>
                </li>

                <li>
                  <a href="{:url('client/notifyClient')}">
                    <span class="fa fa-phone-square"></span>
                    <p>客户提醒 (<span class="font-red">{$invoiceCount}</span>)</p>
                  </a>
                </li>
              </ul>
            </div>

            <hr>
            <div class="space"></div>


          </div>
        </div>
        <!-- /.row -->
      </div>
      <!-- /.page-content -->
    </div>
    <!-- /.main-content -->

  </div>
  <!-- /.main-container-inner -->

  <a href="#" id="btn-scroll-up" class="btn-scroll-up btn btn-sm btn-inverse">
    <i class="icon-double-angle-up icon-only bigger-110"></i>
  </a>
</div>
<!-- /.main-container -->
{include file="public/footerjs"/}
<script src="__ADMIN__/ace/js/bootbox.min.js"></script>

<script>
  function del(k) {
    $.post("/setting/delConfig", { k: k }, function (data) {
      if (data > 0) {
        bootbox.alert("删除成功");
        setTimeout(function () {
          location.reload();
        }, 1000)
      } else {
        bootbox.alert("删除失败");
      }
    })
  }
</script> {include file="public/foot"/}